Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Configure preferred installation source in composer.json #10774

Merged
merged 1 commit into from
Sep 6, 2017

Conversation

localheinz
Copy link
Contributor

@localheinz localheinz commented Sep 5, 2017

Description

By configuring the preferred method of installation in composer.json, none of the flags

  • --prefer-dist
  • --prefer-source

need to be specified when installing dependencies.

Since it is indicated in .travis.yml that dependencies should be installed from dist (which of course makes the most sense), this PR configures the preferred-install method accordingly.

💁‍♂️ For reference, see https://getcomposer.org/doc/06-config.md#preferred-install.

Fixed Issues (if relevant)

n/a

Manual testing scenarios

n/a

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

Somewhat related to #10769.

@miguelbalparda
Copy link
Contributor

Hi @localheinz, thank you for your contributions! I saw you submitted a couple of PRs recently, would you mind using the suggested templates from now on and adjusting the PRs to the template please?

@localheinz
Copy link
Contributor Author

@miguelbalparda

Of course! 👍

@orlangur orlangur self-assigned this Sep 5, 2017
@orlangur orlangur added this to the September 2017 milestone Sep 5, 2017
@localheinz
Copy link
Contributor Author

Build failure is unrelated to the changes in this PR.

@ishakhsuvarov ishakhsuvarov self-assigned this Sep 6, 2017
@magento-team magento-team merged commit bfe8135 into magento:develop Sep 6, 2017
magento-team pushed a commit that referenced this pull request Sep 6, 2017
magento-team pushed a commit that referenced this pull request Sep 6, 2017
[EngCom] Public Pull Requests
 - MAGETWO-72350: Fix: Use all columns when running tests #10784
 - MAGETWO-72349: Fix: Move GitHub-specific documents into .github #10778
 - MAGETWO-72344: Enhancement: Configure preferred installation source in composer.json #10774
 - MAGETWO-72279: Always use https for Vimeo video's. #10768
@localheinz localheinz deleted the feature/preferred-install branch September 6, 2017 19:45
@localheinz
Copy link
Contributor Author

localheinz commented Sep 6, 2017

Thank you, @miguelbalparda, @magento-team, and @orlangur!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants